package com.zhiyou.service;

import com.zhiyou.model.House;

import java.util.HashMap;
import java.util.List;

public interface HouseService {
    int getHouseNum(HashMap<String,String> keywordMap);

    List<House> getHouse(int pageNo, int pageSize,HashMap<String,String> keywordMap);

    void deleteById(int hid);

    House selectById(int hid);

    void updateNew(int hid, String haddress, String hfloor, int hroomNum, String harea, String hdir, int hdeco, int hair, double hprice, int hrentStatus, String himage, String haddTime, String hupdateTime);

    void addNew(String haddress, String hfloor, int hroomNum, String harea, String hdir, int hdeco, int hair, double hprice, int hrentStatus, String himage, String haddTime, String hupdateTime);
}
